package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnTpl;
import com.tjmc.tiomscore.model.TranPtnTplExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnTplMapper {
    long countByExample(TranPtnTplExample example);

    int deleteByExample(TranPtnTplExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnTpl record);

    int insertSelective(TranPtnTpl record);

    List<TranPtnTpl> selectByExample(TranPtnTplExample example);

    TranPtnTpl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnTpl record, @Param("example") TranPtnTplExample example);

    int updateByExample(@Param("record") TranPtnTpl record, @Param("example") TranPtnTplExample example);

    int updateByPrimaryKeySelective(TranPtnTpl record);

    int updateByPrimaryKey(TranPtnTpl record);

    List<TranPtnTpl> selectAZTpl(@Param("aendnermuid") String aendnermuid, @Param("zendnermuid") String zendnermuid,
                                 @Param("aendportrmuid") String aendportrmuid, @Param("zendportrmuid") String zendportrmuid);
}